import { defineStore } from "pinia";

export const useIndexStore = defineStore("index", {
  state: () => {
    return {
      storeVal: "pinia数据",
    };
  },
  actions: {
    setStoreValAction() {
      this.storeVal = "pinia数据修改";
    },
  },
});
